package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.util.List;

@Mapper
public interface NursingPlanMapper {
    List<NursingPlanVo> getAllNursingPlan();
    //返回主键id
    Long insert(NursingPlan nursingPlan);

    Page<NursingPlan> selectByPage(String name, Integer status);

    NursingPlan selectById(Long id);

    void delete(Long id);

    void update(NursingPlan nursingPlan);
}
